package com.distributed.netty.entity;

import io.netty.channel.ChannelHandlerContext;

import java.io.Serializable;

public class Slave implements Serializable {

    private ChannelHandlerContext channelHandlerContext;

    public Slave(ChannelHandlerContext channelHandlerContext) {
        this.channelHandlerContext = channelHandlerContext;
    }

    public ChannelHandlerContext getChannelHandlerContext() {
        return channelHandlerContext;
    }

    public void setChannelHandlerContext(ChannelHandlerContext channelHandlerContext) {
        this.channelHandlerContext = channelHandlerContext;
    }
}
